package com.yjc.springcloud.alibaba.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;

/**
 * @author shkstart
 * @create 2022-08-18 8:33
 */
@Mapper
public interface AccountMapper {
    void reduceAccount(@Param("userId") Long userId, @Param("money") BigDecimal money);
}
